package com.example.hello.dto;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

@Data
public class ResetPasswordDTO {
    
    @NotBlank(message = "新密码不能为空")
    @Size(min = 8, max = 16, message = "密码长度必须在8-16之间")
    private String newPassword;
    
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;
} 